Page({
    data: {},
    onLoad: function(o) {},
    onReady: function() {},
    chooseLocal: function() {
        wx.chooseLocation({
            success: function(o) {
                if (console.log(o), "chooseLocation:ok" === o.errMsg) {
                    var n = o.longitude, e = o.latitude, t = o.address, c = o.name;
                    setLocation({
                        longitude: n,
                        latitude: e,
                        address: t,
                        name: c
                    });
                }
            }
        });
    },
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});